<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{crearDisenoConsulta.page1}" id="page1">
            <ui:html binding="#{crearDisenoConsulta.html1}" id="html1">
                <ui:head binding="#{crearDisenoConsulta.head1}" id="head1">
                    <ui:link binding="#{crearDisenoConsulta.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{crearDisenoConsulta.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{crearDisenoConsulta.form1}" id="form1">
                        <ui:alert binding="#{crearDisenoConsulta.alert1}" id="alert1" style="left: 288px; top: 144px; position: absolute; width: 382px"/>
                        <ui:dropDown binding="#{crearDisenoConsulta.listaDeOperadores}" id="listaDeOperadores" items="#{crearDisenoConsulta.listaOperadores}" style="left: 144px; top: 168px; position: absolute; width: 72px"/>
                        <ui:label binding="#{crearDisenoConsulta.label1}" id="label1" style="left: 72px; top: 168px; position: absolute" text="Operador"/>
                        <ui:label binding="#{crearDisenoConsulta.label2}" id="label2" style="left: 72px; top: 192px; position: absolute" text="Exigible"/>
                        <ui:staticText binding="#{crearDisenoConsulta.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 24px; left: 72px; top: 120px; position: absolute" text="Diseño consulta basica"/>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:table augmentTitle="false" binding="#{crearDisenoConsulta.table2}" clearSortButton="true" id="table2" lite="true"
                            paginateButton="true" paginationControls="true" sortPanelToggleButton="true"
                            style="left: 600px; top: 240px; position: absolute; width: 400px" title="Variables Seleccionadas" width="400">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table2");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table2");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table2");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table2");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table2");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table2");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{crearDisenoConsulta.tableRowGroup2}" id="tableRowGroup2" rows="10"
                                sourceData="#{crearDisenoConsulta.sct0031DataProviderDisenoConsultaBasica2}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{crearDisenoConsulta.tableColumn4}" headerText="Codigo" id="tableColumn4" sort="SCT0031.CDGOVRBLE">
                                    <ui:staticText binding="#{crearDisenoConsulta.staticText3}" id="staticText3" style="font-size: 10px" text="#{currentRow.value['SCT0031.CDGOVRBLE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{crearDisenoConsulta.tableColumn5}" headerText="Operador" id="tableColumn5" sort="SCT0031.OPRDOR">
                                    <ui:staticText binding="#{crearDisenoConsulta.staticText4}" id="staticText4" style="font-size: 10px" text="#{currentRow.value['SCT0031.OPRDOR']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{crearDisenoConsulta.tableColumn6}" headerText="Exigible" id="tableColumn6">
                                    <ui:staticText binding="#{crearDisenoConsulta.staticText5}" id="staticText5" style="font-size: 10px" text="#{crearDisenoConsulta.conversionSiNo}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{crearDisenoConsulta.tableColumn10}" id="tableColumn10">
                                    <ui:button action="#{crearDisenoConsulta.botonBajar_action}" binding="#{crearDisenoConsulta.botonBajar}" id="botonBajar"
                                        imageURL="/resources/FlechaAbajo.jpg" text="texto"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{crearDisenoConsulta.tableColumn11}" id="tableColumn11">
                                    <ui:button action="#{crearDisenoConsulta.botonSubir_action}" binding="#{crearDisenoConsulta.botonSubir}" id="botonSubir"
                                        imageURL="/resources/FlechaArriba.jpg" text="texto"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{crearDisenoConsulta.tableColumn8}" id="tableColumn8">
                                    <ui:button action="#{crearDisenoConsulta.botonEliminar_action}" binding="#{crearDisenoConsulta.botonEliminar}"
                                        id="botonEliminar" mini="true" primary="true" text="Eliminar"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:table augmentTitle="false" binding="#{crearDisenoConsulta.table1}" clearSortButton="true" id="table1" lite="true"
                            paginateButton="true" paginationControls="true" sortPanelToggleButton="true"
                            style="left: 72px; top: 240px; position: absolute; width: 514px" title="Variables Disponibles" width="514">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{crearDisenoConsulta.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                sourceData="#{crearDisenoConsulta.sct0031DataProviderDisenoConsultaBasica}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{crearDisenoConsulta.tableColumn2}" headerText="Codigo" id="tableColumn2" sort="SCT0001.CDGOVRBLE">
                                    <ui:staticText binding="#{crearDisenoConsulta.staticText2}" id="staticText2" style="font-size: 10px" text="#{currentRow.value['SCT0001.CDGOVRBLE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{crearDisenoConsulta.tableColumn1}" headerText="Variable" id="tableColumn1" sort="SCT0001.NMBREVRBLE">
                                    <ui:staticText binding="#{crearDisenoConsulta.staticText1}" id="staticText1" style="font-size: 10px" text="#{currentRow.value['SCT0001.NMBREVRBLE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{crearDisenoConsulta.tableColumn9}" headerText="Tipo" id="tableColumn9">
                                    <ui:staticText binding="#{crearDisenoConsulta.staticText6}" id="staticText6" style="font-size: 10px" text="#{crearDisenoConsulta.tipoDato}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{crearDisenoConsulta.tableColumn3}" id="tableColumn3" width="50">
                                    <ui:button action="#{crearDisenoConsulta.botonSeleccionar_action}" binding="#{crearDisenoConsulta.botonSeleccionar}"
                                        id="botonSeleccionar" mini="true" primary="true" text="Seleccionar"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:dropDown binding="#{crearDisenoConsulta.listaExigible}" id="listaExigible"
                            items="#{crearDisenoConsulta.listaExigibleDefaultOptions.options}" style="font-size: 10px; left: 144px; top: 192px; position: absolute"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
